package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理服务对象 ability_server
 * 
 * @author ruoyi
 * @date 2024-08-19
 */
public class AbilityServer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务id */
    private String ID;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String SName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String SCname;

    /** 服务真实地址 */
    @Excel(name = "服务真实地址")
    private String SHost;

    /** 服务对外地址 */
    @Excel(name = "服务对外地址")
    private String SUrl;

    /** 服务类型分三类 */
    @Excel(name = "服务类型分三类")
    private Long Stype;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date Sdata;

    /** 服务创建者（admin） */
    @Excel(name = "服务创建者", readConverterExp = "a=dmin")
    private String SCreateby;

    /** 审核状态 0未创建成功无法使用该服务 1已创建 */
    private Long srStatus;

    /** 可以访问用户组（kong）【用来标志某用户是否订阅】 */
    private String Sok;

    /** 拒绝访问用户组（kong） */
    private String Sno;

    Integer sy;
    Integer dy;

    public Integer getSy() {
        return sy;
    }

    public void setSy(Integer sy) {
        this.sy = sy;
    }

    public Integer getDy() {
        return dy;
    }

    public void setDy(Integer dy) {
        this.dy = dy;
    }

    public void setID(String ID)
    {
        this.ID = ID;
    }

    public String getID() 
    {
        return ID;
    }
    public void setSName(String SName) 
    {
        this.SName = SName;
    }

    public String getSName() 
    {
        return SName;
    }
    public void setSCname(String SCname) 
    {
        this.SCname = SCname;
    }

    public String getSCname() 
    {
        return SCname;
    }
    public void setSHost(String SHost) 
    {
        this.SHost = SHost;
    }

    public String getSHost() 
    {
        return SHost;
    }
    public void setSUrl(String SUrl) 
    {
        this.SUrl = SUrl;
    }

    public String getSUrl() 
    {
        return SUrl;
    }
    public void setStype(Long Stype) 
    {
        this.Stype = Stype;
    }

    public Long getStype() 
    {
        return Stype;
    }
    public void setSdata(Date Sdata) 
    {
        this.Sdata = Sdata;
    }

    public Date getSdata() 
    {
        return Sdata;
    }
    public void setSCreateby(String SCreateby) 
    {
        this.SCreateby = SCreateby;
    }

    public String getSCreateby() 
    {
        return SCreateby;
    }
    public void setSrStatus(Long srStatus) 
    {
        this.srStatus = srStatus;
    }

    public Long getSrStatus() 
    {
        return srStatus;
    }
    public void setSok(String Sok) 
    {
        this.Sok = Sok;
    }

    public String getSok() 
    {
        return Sok;
    }
    public void setSno(String Sno) 
    {
        this.Sno = Sno;
    }

    public String getSno() 
    {
        return Sno;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("SName", getSName())
            .append("SCname", getSCname())
            .append("SHost", getSHost())
            .append("SUrl", getSUrl())
            .append("Stype", getStype())
            .append("Sdata", getSdata())
            .append("SCreateby", getSCreateby())
            .append("srStatus", getSrStatus())
            .append("Sok", getSok())
            .append("Sno", getSno())
            .toString();
    }
}
